package com.atguigu.springcloud.service;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * @Author：YH
 * @Description：
 * @Date:Created in 2021/4/30 17:11
 */
public interface PaymentService {

    //写数据库操作
    public int create(Payment payment);

    //读数据库操作
    public Payment getPaymentById(@Param("id") Long id);
}
